VERSION = 0.8
CC = g++
CFLAG = -I/usr/local/Aria/include -I/usr/local/include
LFLAG = -L/usr/local/Aria/lib -L/usr/local/lib -lAria -lArNetworking -lrt -ldl -lpthread -lopencv_highgui -lopencv_core -lopencv_imgproc -lcurl
SOURCE = aria.cpp Vision_Controller.cpp POI.cpp Blob.cpp BlobFinder.cpp FindPOIAction.cpp CameraReader.cpp ScanAction.cpp RobotController.cpp NoTargetActionGroup.cpp TargetActionGroup.cpp NearTargetActionGroup.cpp
OBJ = aria.o Vision_Controller.o POI.o Blob.o BlobFinder.o FindPOIAction.o CameraReader.o ScanAction.o RobotController.o NoTargetActionGroup.o TargetActionGroup.o NearTargetActionGroup.o
PROG = aria

all: Compile Clear

Compile: 
	@echo 'Inizio della compilazione'
	$(CC) -c $(CFLAG) $(SOURCE) 
	@echo 'Inizio link'
	$(CC) -o $(PROG) $(OBJ) $(LFLAG)
	@echo 'Fine processo'
Clear: 
	rm -rf $(OBJ)

